package com.acme.bankapp.domain.email;

public interface Queue {

	public boolean isClosing();
	
	public Email getEmail() throws InterruptedException;

	public void addEmail(Email email);

	public void close();
	
	public boolean isEmpty();
}
